package com.thiswhyme.log.core;

import org.springframework.context.ApplicationEvent;

/**
 * 日志事件
 * Created by thiswhyme on 2020/10/11
 */
public class LogEvent extends ApplicationEvent {

    private OperationLog msg;

    public LogEvent(Object source, OperationLog msg) {
        super(source);
        this.msg = msg;
    }

    public OperationLog getMsg() {
        return msg;
    }

    public void setMsg(OperationLog msg) {
        this.msg = msg;
    }
}